using System;
using System.Collections.Generic;
using System.Text;

namespace EZCRS.HCMS.Entity
{
    public class hfg_module
    {
        private int? _id;
        private int? _modparent;
        private string _modname = String.Empty;
        private string _modnameen = String.Empty;
        private string _modurl = String.Empty;
        private byte _modrank;
        private string _modcomment = String.Empty;

        public hfg_module()
        {
        }

      

        //protected void LoadFromReader(SqlDataReader reader)
        //{
        //    if (reader != null && !reader.IsClosed)
        //    {
        //        _id = reader.GetInt32(0);
        //        if (!reader.IsDBNull(1)) _modparent = reader.GetInt32(1);
        //        if (!reader.IsDBNull(2)) _modname = reader.GetString(2);
        //        if (!reader.IsDBNull(3)) _modnameen = reader.GetString(3);
        //        if (!reader.IsDBNull(4)) _modurl = reader.GetString(4);
        //        if (!reader.IsDBNull(5)) _modrank = reader.GetByte(5);
        //        if (!reader.IsDBNull(6)) _modcomment = reader.GetString(6);
        //    }
        //}


        #region Public Properties
        public int? Id
        {
            get { return _id; }
            set { _id = value; }
        }

        public int? modparent
        {
            get { return _modparent; }
            set { _modparent = value; }
        }

        public string modname
        {
            get { return _modname; }
            set { _modname = value; }
        }

        public string modnameen
        {
            get { return _modnameen; }
            set { _modnameen = value; }
        }

        public string modurl
        {
            get { return _modurl; }
            set { _modurl = value; }
        }

        public byte modrank
        {
            get { return _modrank; }
            set { _modrank = value; }
        }

        public string modcomment
        {
            get { return _modcomment; }
            set { _modcomment = value; }
        }
        #endregion

       
    }
}
